package com.aaa.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @Author 崔灿
 * @Date 2023/03/02 09:47
 * @ClassName OrderApplication
 * @Description
 * @Version 1.0
 */

@SpringBootApplication
@MapperScan(basePackages = {"com.aaa.order.dao","com.aaa.security.dao"})
@ComponentScan(basePackages = {"com.aaa.order","com.aaa.security"})
@EnableFeignClients
@EnableSwagger2
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class,args);
    }
}
